//
//  NetError.h
//  CarCare
//
//  Created by ileo on 14-9-25.
//  Copyright (c) 2014年 baozun. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef NS_ENUM(NSInteger, NET_ERROR){
    NET_ERROR_LINK = 404,
    NET_ERROR_SESSION = 999999,
    
    NET_ERROR_SIGN = 40001,
};

@interface NetDealMgr : NSObject

//获取错误提示
+(NSString *)errorTips:(NET_ERROR)error;

//通用处理错误
+(void)dealWithNetError:(NET_ERROR)error doThis:(void(^)())doSomething;

//校验
+(NSDictionary *)paramsAddSignWithParams:(NSDictionary *)oldParams;//增加校验参数

@end
